package com.yhd.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 课程信息详细信息表
 */
@Data
public class TSystemDictionary implements Serializable {
    /**
     * 主键
     */
    @Column(name = "ID")
    @Id
    @KeySql(useGeneratedKeys = true)
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "jdbc")
    private String id;

    /**
     * 名字
     */
    @Column(name = "name")
    private String name;

    /**
     * 组id100课程分类 200活动分类，300课程协议，400活动协议
     */
    @Column(name = "groupId")
    private String groupId;

    /**
     * 组名
     */
    @Column(name = "groupName")
    private String groupName;

    /**
     * 父id
     */
    @Column(name = "pid")
    private Integer pid;
    /**
     * 内容
     */
    @Column(name = "content")
    private String content;
    /**
     * 排序
     */
    @Column(name = "sort")
    private Integer sort;
    /**
     * 属性1
     */
    @Column(name = "attr1")
    private String attr1;
    /**
     * 属性2
     */
    @Column(name = "attr2")
    private String attr2;
    /**
     * 属性3
     */
    @Column(name = "attr3")
    private String attr3;

    /**
     * 状态 1:生效 0:未生效
     */
    @Column(name = "status")
    private Integer status;

    /**
     * 是否删除 1:是 0:否
     */
    @Column(name = "isDel")
    private Integer isDel;
    /**
     * 创建人
     */
    @Column(name = "createUserId")
    private String createUserId;
    /**
     * 创建时间
     */
    @Column(name = "createDate")
    private Date createDate;
    /**
     * 修改人
     */
    @Column(name = "updateUserId")
    private String updateUserId;

    /**
     * 修改时间
     */
    @Column(name = "updateDate")
    private Date updateDate;

}